package com.zhiwang.planet.ui.webview_ultimate.interceptors

import android.webkit.WebView
import com.zhiwang.planet.App
import com.zhiwang.planet.BuildConfig
import com.zhiwang.planet.ui.webview_ultimate.InterceptorAdapter
import com.zhiwang.planet.util.ChannelUtil
import com.zhiwang.planet.util.TokenManager

class InitLoadInterceptor : InterceptorAdapter() {



    override fun initLoad(webView: WebView, url: String) {
        if (url.contains("ji7")) {
            webView.loadUrl(url, webViewHeader())
        } else webView.loadUrl(url)
    }
}